<%@page contentType="text/html;charset=utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href='../css/main.css' rel='stylesheet' type='text/css'></link>
		<title>电信运营计费管理系统-帐务查询</title>

	</head>
	<body>
		<center>
			<!--logo头开始-->
			<%@include file="../common/head.jsp"%>
			<!--logo头结束-->
			<!--功能导航开始-->
			<%@include file="../common/navigation.jsp"%>
			<!--功能导航开结束-->
		</center>
		<!--正文区开始[包含左边的功能操作菜单，与中间的操作区域]-->
		<center>
			<table width='778' height='370' border='1'>
				<tr>
					<!--左边列[功能操作菜单]开始 -->
					<td valign='top' bgcolor='#f8f8f8'>

						<!--菜单标题栏开始-->
						<table width='100%' height='31' border='0' cellspacing='0'
							cellpadding='0' background='../images/index_26.jpg'>
							<tr>
								<td width='18%'>
									&nbsp;
								</td>
								<td width='47%' valign='middle'
									background='../images/ctitle_bak_fcenter.jpg'>
									<span class="channel_title">用户管理<!-- 模块名称 -->></span>
								</td>
								<td width='9%' align='left' valign='middle'
									background='../images/ctitle_bak_fcenter.jpg'>
									<img src="../images/channel_dh_2.jpg" height="12" width="18">
								</td>
								<td width='26%' align='right' valign='middle'
									background='../images/ctitle_bak_center.jpg'>
									<img src="../images/ctitle_bak_right.jpg" height="31"
										width="10">
								</td>
							</tr>
						</table>
						<!--菜单标题栏结束-->
						<!--菜单项开始-->
						<table width='100%' border='0' cellspacing='0' cellpadding='0'>
							<tr>
								<td
									style='border-bottom: 1px solid #d5d5d5; border-left: 1px solid #d5d5d5; border-right: 1px solid #d5d5d5;'>
									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='index.action'>首页</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									<!-- 循环显示操作菜单 -->

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='acctbrowse.action'>帐务帐号查询</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='acctaddform.action'>帐务帐号增加</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='acctprepareupdate.action'>帐务帐号修改</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='acctpreparedelete.action'>帐务帐号删除</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='bussbrowse.action'>业务帐号查询</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='bussaddform.action'>业务帐号增加</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='bussprepareupdate.action'>业务帐号修改</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table width='191' height='31' border='0' cellpadding='0'
										cellspacing='0' background='../images/subchannel_bak.jpg'>
										<tr>
											<td width='36' height='31' align='right' valign='middle'>
												<img src="../images/subchannel_doc.jpg" height="9" width="6">
													&nbsp; 
											</td>
											<td align='left' valign='middle'>
												<table border='0' cellpadding='0' cellspacing='0'>
													<tr>
														<td height='31'>
															<a href='busspreparedelete.action'>业务帐号删除</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

									<table cellpadding='0' cellspacing='0' width='100%'>
										<tr>
											<td width='100%' height='3'></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<!--菜单项结束-->
					</td>
					<!--左边列[功能操作菜单]结束 -->

					<!--内容区开始-->
					<td width='575' align='center' valign='top'>
						<!-- 标准标记库 -->
						<table width='100%' height='10%' border='0' cellspacing='0'
							cellpadding='0'>
							<tr>
								<td width='40' background='../images/index_26.jpg'>
									&nbsp;
								</td>
								<!--内容区导航开始-->
								<td align='left' valign='middle'
									background='../images/ctitle_bak_center.jpg'>
									<table border='0' cellspacing='0' cellpadding='0'>
										<tr>
											<td height='31' background='../images/ctitle_bak_fcenter.jpg'>
												<a href='../main.htm' class=channel_title>首页</a>
												<img src="../images/sy_2_18.jpg" border="0">
													<a href='../user/index.htm' class=channel_title>用户管理首页</a>
													<img src="../images/sy_2_18.jpg" border="0">
														<a href='../user/acctbrowse.htm' class=channel_title>帐务查询</a>
											</td>
										</tr>
									</table>
								</td>
								<!--内容区导航结束-->
								<td align='left' valign='middle'
									background='../images/ctitle_bak_center.jpg'>
									&nbsp;
								</td>
								<td width='13' align='right' valign='middle'
									background='../images/ctitle_bak_center.jpg' >
									<img src="../images/ctitle_bak_right.jpg" height="31"
										width="10" />
								</td>
							</tr>
						</table>

						<table width='100%' border='1' cellspacing='0' cellpadding='0'>
							<tr width="100%" height="10%">
								<!-- 显示查询UI -->
								<td align="left" height='31'
									background='../images/ctitle_bak_fcenter.jpg'>
									<form name="usercondform" method="post"
										action="acctbrowse.action">
										查询条件：&nbsp;&nbsp; 用户姓名:
										<input type="text" name="uc.name" value="" style="width: 80px"/>
											登录名:<input type="text" name="uc.loginname" maxlength="20"
												value="" style="width: 80px" />

												状态:<select name="uc.status" style="width: 80px">
													<option value="-1" selected="selected">
														全部
													</option>
													<option value="0">
														开通
													</option>
													<option value="1">
														暂停
													</option>
												</select>

												<input type="submit" value=" 查询"	/>
									</form>
								</td>
							</tr>
							<tr width="100%" height="300px">
								<td width="100%" valign="top">
									<!-- 显示浏览列表 -->
									<div style="overflow: auto;">
										<table cellspacing='0' cellpadding='0' width="100%" border="1">

											<tr class="tabhead">
												<td>
													用户名
												</td>
												<td>
													登录名
												</td>
												<td>
													状态
												</td>
												<td>
													支付方式
												</td>
												<td>
													电话
												</td>
												<td>
													电子邮件
												</td>
												<td>
													性别
												</td>
											</tr>

											<c:forEach items="${userList}" var="user">
												<tr>
													<td>
														${user.name }
													</td>
													<td>
														${user.loginname }
													</td>
													<td>
														<c:choose>
															<c:when test="${user.status eq 1 }">
															暂停
														</c:when>
															<c:otherwise>
															开通
														</c:otherwise>
														</c:choose>
													</td>
													<td>
														${user.paymenttpye }
													</td>
													<td>
														${user.phone }
													</td>
													<td>
														${user.email }
													</td>
													<td>
														<c:choose>
															<c:when test="${user.sex eq 1}">
															男
														</c:when>
															<c:otherwise>
															女
														</c:otherwise>
														</c:choose>
													</td>
												</tr>
											</c:forEach>
										</table>
									</div>
								</td>
							</tr>
							<tr width="100%" height="20px">
								<!-- 显示分页导航 -->
								<td>
									第${page.page}页/共${page.maxPage}页&nbsp;&nbsp;
									<a
										href="acctbrowse.action
										?uc.name=${uc.name}
										&uc.loginname=${uc.loginname}
										&uc.status=${uc.status}
										&page.page=1&page.pageSize=${page.pageSize}">第一页</a>
									<a
										href="acctbrowse.action?
										uc.name=${uc.name}
										&uc.loginname=${uc.loginname}
										&uc.status=${uc.status}
										&page.page=${page.prePage}
										&page.pageSize=${page.pageSize}">上一页</a>
									<a
										href="acctbrowse.action?
										uc.name=${uc.name}
										&uc.loginname=${uc.loginname}
										&uc.status=${uc.status}
										&page.page=${page.nextPage}
										&page.pageSize=${page.pageSize }">下一页</a>
									<a
										href="acctbrowse.action
										?uc.name=${uc.name}
										&uc.loginname=${uc.loginname}
										&uc.status=${uc.status}
										&page.page=${page.maxPage }
										&page.pageSize=${page.pageSize }">尾页</a>
								</td>

								<!-- 显示分页导航结束 -->

							</tr>
						</table>

					</td>
					<!--内容区结束-->
				</tr>
			</table>
		</center>
		<!--正文区开始[包含左边的功能操作菜单，与中间的操作区域]结束-->


		<!--页面尾巴开始-->

		<%@include file="../common/foot.jsp"%>
		<!--页面尾巴结束-->
	</body>
</html>
